package com.castle.fortress.admin.cms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * cms用户自定义标签表 实体类
 *
 * @author castle
 * @since 2022-03-02
 */
@Data
@TableName("cms_cust_tag")
public class CmsCustTagEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 标题
	*/
	private String title;
	/**
	 * 列表模板
	 */
	private String listtp;
	/**
	 * 创建时间
	*/
	private Date createTime;
	/**
	 * 权重
	 */
	private Integer weight;

}
